package com.cssl.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 
 * @TableName like
 */
@TableName(value ="likes")
@Data
public class Like implements Serializable {
    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer likeid;

    /**
     * 点赞帖子id
     */
    private Integer like_forumid;

    /**
     * 发帖用户
     */
    private Integer like_fuid;

    /**
     * 点赞用户id
     */
    private Integer like_uid;

    /**
     * 点赞时间
     */
    @JsonFormat(pattern="yyyy-MM-dd hh:mm:ss",timezone = "GMT+8")
    private Date likedate;
    private String ftuser;
    private String likeuser;
    private String ftitle;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}